package com.example.myblogserver.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Set;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "查看访客记录返回的数据格式")

public class VisitorVO implements Serializable {
    @ApiModelProperty("文章id")
    private Long articleId;
    @ApiModelProperty("访客ip列表")
    private Set<String> visitorIps;
    @ApiModelProperty("总访问次数")
    private Long totalVisits;
}
